package com.yf.idmt.exception;

/**
 * @author tanghailan
 * @date 2020/12/30 10:17
 */
public class MyIdempotentException extends RuntimeException {

  private static final long serialVersionUID = 2286125820077838025L;
  private String msg;

  private Integer code;

  public MyIdempotentException(String msg, Integer code) {
    this.msg = msg;
    this.code = code;
  }

  public String getMsg() {
    return msg;
  }

  public void setMsg(String msg) {
    this.msg = msg;
  }

  public Integer getCode() {
    return code;
  }

  public void setCode(Integer code) {
    this.code = code;
  }
}
